package cn.wolfcode.trip.app.controller;

import cn.wolfcode.trip.base.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/friendColumn")
public class FriendColumnController {
    @Autowired
    private IUserService userService;

    /**
     * 查询粉丝，再查出粉丝动态
     * @param qo
     * @return
     */
   /* @GetMapping
    public List ListFollowAndFansById(UserQuery qo) {
        List<User> list = userService.selectFollowAndFansById(qo);
        return list;
    }*/
    /**
     * 查询所有游记列表
     * @param qo
     * @return
     */
   /* @GetMapping
    public PageInfo listTravels(TravelQuery qo){
        //修改为 发布状态
        qo.setState(Travel.STATE_RELEASE);
        //设置为 公开的
        qo.setIsPublic(true);
        //按照发布时间倒序
        qo.setOrderBy("t.releaseTime desc");
        return travelService.query(qo);
    }*/
}
